/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



function tryAuth(){
    
    $.post("ConnexionServlet",
            "{ login: \""+document.getElementById("name").value
                +"\", password: \""+document.getElementById("pass").value+"\" }",
            parseResult() );
}// tryAuth()

function parseResult(data){
    
    if (data="FALSE"){
       
        document.getElementById("lbErrorAuth").textContent="Le login et le mot de passe ne sont pas valident!";
    }
}// parseResult()

